package com.flute.haflute.jobbox.communication;

import java.rmi.RemoteException;

public interface ClientService2Server {

	/** 注册为消息的监听者 */
	public void register(String name, Listener callback) throws RemoteException;

	/** 取消注册 */
	public void unRegister(String name) throws RemoteException;
	
	/** 该服务的对端是否存活 */
	public boolean isAlive() throws RemoteException;
}
